<if condition="$type eq 'recharge'">
    <foreach name="account_log" item="recharge">
        <div class="fll_acc">
            <ul>
                <li>{$recharge[pay_name]}</li>
                <li><span>充值金额：</span><span class="red">{$recharge[account]}</span></li>
                <li>
                    <p><span>支付状态: </span>
                        <span class="red"><if condition="$recharge[pay_status] eq 0">待支付&nbsp;&nbsp;<a href="{:U('User/recharge',array('order_id'=>$recharge[order_id]))}" class="">详情</a><else/>已支付</if></span>
                    </p>
                    <p class="coligh"><span>{:date('Y-m-d H:i:s',$recharge[ctime])}</span></p>
                </li>
            </ul>
        </div>
    </foreach>
<else/>
    <foreach name="account_log" item="v">
        <div class="fll_acc">
            <ul>
                <li>{$v[desc]}</li>
                <li>
                    <span>余额：</span><span class="red">{$v[user_money]}</span></li>
                <li>
                    <p>
                        <span>积分：</span><span class="red">{$v[pay_points]}</span>
                    </p>
                    <p class="coligh">
                        <span>{:date('Y-m-d H:i:s',$v[change_time])}</span>
                    </p>
                </li>
            </ul>
        </div>
    </foreach>
</if>